package com.dhl.factory.factorymethod.pizza;

/**
 * @title: Pizza
 * @Author danghailiang
 * @Date: 2022/7/26 21:28
 * @Version 1.0
 */
public abstract class Pizza {

    protected String name;


    public void prepare() {
        System.out.println("prepare：准备pizza---");
    }

    public void bake() {
        System.out.println(name + "bake：---");
    }

    public void cut() {
        System.out.println(name + "cut：---");
    }

    public void box() {
        System.out.println(name + "box：---");
    }
}
